<div class="form-group">
  <%= f.label :preferred_button_text %>
  <%= f.text_field :preferred_button_text, data: { action: 'auto-submit#submit' }, class: 'form-control' %>
</div>

<div class="form-group">
  <%= f.label :preferred_placeholder %>
  <%= f.text_field :preferred_placeholder, data: { action: 'auto-submit#submit' }, class: 'form-control' %>
</div>

<% content_for(:design_tab) do %>
  <div class="form-group">
    <%= f.label :preferred_justify %>
    <%= f.select :preferred_justify, options_for_select(['start', 'center', 'end'], @page_block.preferred_justify), {}, { class: 'custom-select', data: {  action: 'auto-submit#submit' } } %>
  </div>
  <div class="form-group">
    <%= f.label :preferred_button_style %>
    <%= f.select :preferred_button_style, options_for_select(['primary', 'secondary'], @page_block.preferred_button_style), {}, { class: 'custom-select', data: {  action: 'auto-submit#submit' } } %>
  </div>
<% end %>
